package com.leilei.support.util;

/**
 * @author lei
 * @create 2022-05-11 14:17
 * @desc
 **/
public class J2CacheKeyUtil {

    /**
     * 二级缓存属性 命名空间
     */
    public static final String NAME_SPACE = "namespace";
    /**
     * 二级缓存属性 存储类型
     */
    public static final String STORAGE = "storage";
    /**
     * 二级缓存属性 redis channel
     */
    public static final String CHANNEL = "channel";

    /**
     * 二级缓存属性 redis数据库DB
     */
    public static final String DATABASE = "database";

    public static final String STORAGE_HASH = "hash";
    /**
     * redis操作模板bean名
     */
    public static final String J2CACHE_TEMPLATE_NAME = "j2CacheRedisTemplate";

    /**
     * 消息监听bean名
     */
    public static final String J2CACHE_MESSAGE_LISTENER_NAME = "j2CacheRedisMessageListenerContainer";

}
